import { reactive, toRefs } from 'vue'
import Taro from '@tarojs/taro'

export const useScreen = () => {
  let res = reactive({})
  res = Taro.getSystemInfoSync()
  return { ...toRefs(res) }
}
